import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { VideoService } from './video.service';
import { VideoController } from './video.controller';
import { Video, VideoCategory } from './video.entity';
import { Category } from '../category/category.entity';
import { VideoItem } from '../video-item/video-item.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Video, VideoCategory, Category, VideoItem]),
  ],
  controllers: [VideoController],
  providers: [VideoService],
})
export class VideoModule {}
